package com.google.gwt.livinglife.client;

import com.google.gwt.livinglife.client.data.GroupIdData;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.VerticalPanel;

public class ConciseGroupListWidget extends VerticalPanel {
	public ConciseGroupListWidget() {
		super();
		setSpacing(5);
	}
	public void addGroup(GroupIdData g) {
		Anchor link = new Anchor(g.getGroup_name(), LivingLife.getGroupIdUrl(g.getId()));
		add(link);
	}
}
